<?php
/**
 * Every param id should be unique.Through this exception from your code
 * if you detect duplicate param ID 
 *
 */
class err_duplicate_param_l_search extends Exception  {
     public function __construct($param_id) {
        $code = 201;
        $message = "Duplicate param ID [$param_id] detected!";
        parent::__construct($message, $code);
    }
}
?>
